package org.example.proxy.staticProxy;

public class StaticProxyTest {

    public static void main(String[] args) {
        //创建学生对象
        Student student = new Student();
        //创建代理对象，并将学生对象传给代理对象
        StudentProxy proxy = new StudentProxy(student);
        //执行方法
        proxy.seedMsg("aaaa");
    }

}
